import { createApp } from 'vue'
import '@/style/reset.css'
import App from '@/App.vue'
import Header from "@/components/Header.vue"
import Footer from "@/components/Footer.vue"
import Login from "@/components/Login.vue";
import router from "@/router";

import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import zhCn from 'element-plus/dist/locale/zh-cn.mjs' // 配置elementUI语言为中文
import pinia from "@/store";
import  'animate.css'

let app = createApp(App);
// 注册全局组件
app.component(Header.name,Header);
app.component(Footer.name,Footer);
app.component(Login.name,Login)
// 注册插件
app.use(router);
app.use(ElementPlus, {
    locale: zhCn,
})
app.use(pinia)


app.mount('#app')


